<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/website/common/base.jsp"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${webname }-会员中心</title>
<%@ include file="/website/common/common.jsp"%>
<link href="${webctx }/css/manage.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/plugins/plupload2/plupload.full.min.js"></script>
</head>

<body>
<%@ include file="/website/common/top.jsp"%>
<%@ include file="/website/common/head.jsp"%>
<%@ include file="/website/common/menu.jsp"%>

<div class="warp-body">
	<div class="inner clearfix">
    	<div class="left-main">
        	<div class="left-inner">
            	<%@ include file="/website/user/left.jsp"%>
            </div>
        </div>
    	<div class="right-main">
        	<div class="right-inner">
            	<div class="right-title"><span></span>站内消息</div>
               <div class="messag-inner">
                    <div class="messag-list">
                    	<ul>
                    		<c:forEach var="info" items="${list }">
                    		<li>
                            	<div class="item-inner">
                                    <h2><c:if test="${info.isread==0 }"><span></span></c:if>${info.title }</h2>
                                    <div class="item-txt">${info.content }</div>
                                </div>                            	
                            </li>
                         	</c:forEach>                    		
                    	</ul>
                    	<c:if test="${list.size()==0 }">
							<div class="nodata">没有消息！</div>
						</c:if>
                         ${pagehtml }
                    </div>
                    
                </div> 
            </div>
        </div>
    </div>
</div>

<%@ include file="/website/common/foot.jsp"%>
</body>
</html>
<script>
var uploader;
$(function(){
	setLeftCur("stationnews");
})

function gopage(n) {
    window.location.href=ctx+"/user/stationnews?pno="+n;
}
function topageclick(){
    if($("[name='topagenum']").val()!="")
        window.location.href=ctx+"/user/stationnews?pno="+$("[name='topagenum']").val();
}

</script>